#pragma once

#include "ScriptCompiler/ASTBuilder/ASTBuilder.h"
#include "ScriptCompiler/AST/PropertyIndexerNode.h"

//read property indexer
class CPropertyIndexerBuilder : public IASTBuilder
{
public:
    CPropertyIndexerBuilder(std::shared_ptr<CScriptFileContext> InContext);

    virtual bool ReadCurentToken() override;
    std::shared_ptr<CPropertyIndexerNode> Result;

protected:
    std::shared_ptr<CScriptFileContext> Context;

};